// 基于template/src/widgets/{{appEntities}}/{{ctrls@GRID}}-grid/{{spinalCase ctrl.codeName}}-grid-vo.ts.hbs生成
import { ControlVOBase } from '@/core';

export class GridDataControlVO extends ControlVOBase {

    constructor(data: any){
        super(data);
        const wfKey = ['srftaskid','srftaskdefinitionkey','srfprocessdefinitionkey','srfprocessdefinitionid','srfprocessinstanceid'];
        //  表格自持属性
        this.$ownKeys = ['ibizappview', 'ibizappviewname', 'ibizappviewtype', 'documentaddress', 'instanceaddress', 'viewdescription', 'amount', 'ibizappviewid', 'srfkey', 'srfdataaccaction', 'srfmajortext', ...wfKey];
    }

    get ibizappviewname() {
        return this.$DO.ibizappviewname;
    }

    set ibizappviewname(value: any) {
        this.$DO.ibizappviewname = value;
    }
    get ibizappviewtype() {
        return this.$DO.ibizappviewtype;
    }

    set ibizappviewtype(value: any) {
        this.$DO.ibizappviewtype = value;
    }
    get documentaddress() {
        return this.$DO.documentaddress;
    }

    set documentaddress(value: any) {
        this.$DO.documentaddress = value;
    }
    get instanceaddress() {
        return this.$DO.instanceaddress;
    }

    set instanceaddress(value: any) {
        this.$DO.instanceaddress = value;
    }
    get viewdescription() {
        return this.$DO.viewdescription;
    }

    set viewdescription(value: any) {
        this.$DO.viewdescription = value;
    }
    get amount() {
        return this.$DO.amount;
    }

    set amount(value: any) {
        this.$DO.amount = value;
    }
    get ibizappviewid() {
        return this.$DO.ibizappviewid;
    }

    set ibizappviewid(value: any) {
        this.$DO.ibizappviewid = value;
    }
    get srfkey() {
        return this.$DO.ibizappviewid;
    }

    set srfkey(value: any) {
        this.$DO.ibizappviewid = value;
    }
    get srfdataaccaction() {
        return this.$DO.ibizappviewid;
    }

    set srfdataaccaction(value: any) {
        this.$DO.ibizappviewid = value;
    }
    get srfmajortext() {
        return this.$DO.ibizappviewname;
    }

    set srfmajortext(value: any) {
        this.$DO.ibizappviewname = value;
    }

    set ibizappview(value: any) {
        this.$DO.ibizappviewid = value;
    }
    get ibizappview() {
        return this.$DO.ibizappviewid;
    }

    get srftaskid(){
        return this.$DO.srftaskid;
    }

    get srftaskdefinitionkey(){
        return this.$DO.srftaskdefinitionkey;
    }

    get srfprocessdefinitionkey(){
        return this.$DO.srfprocessdefinitionkey;
    }

    get srfprocessdefinitionid(){
        return this.$DO.srfprocessdefinitionid;
    }

    get srfprocessinstanceid(){
        return this.$DO.srfprocessinstanceid;
    }
}

export const GridControlVO = [{ name: 'GridControlVO', controlVO: GridDataControlVO }]